﻿using MediatR;
using System;
using System.Collections.Generic;
using System.Text;
using SqlSugar;

namespace YL.Core.Entity
{
    [SugarTable("whr_user_log")]
    public partial class Whr_user_log : INotification
    {
        public Whr_user_log() 
        {
        }

        [SugarColumn(IsPrimaryKey = true, ColumnName = "id")]
        public long LogId { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "browser")]
        public string Browser { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "create_at")]
        public DateTime? CreateAt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "user_id")]
        public int UserId { get; set; }
        
        [SugarColumn(ColumnName = "login_ip")]
        public string LoginIp { get; set; }
        
        [SugarColumn(ColumnName = "description")]
        public string Description { get; set; }

        [SugarColumn(ColumnName = "url")]
        public string Url { get; set; }
    }
}
